#!/usr/bin/env python

a = '     this is putty, a ssh tool under GUN     '

print(a.strip())
print(a.lstrip())
print(a.rstrip())

b = 'this is putty, a ssh tool under GUN'
print(b.strip('thNU'))
print(b.lstrip('thNU'))
print(b.rstrip('thNU'))
